<include file="Public:header" /><!-- header -->

<div class="wrap">
<div id="icon-{$ur_here.action}" class="icon32"><br /></div><h2>{$ur_here.text}</h2>
<form action="{:U('Admin/Options/general')}" method="post">
<input type="hidden" name="action" value="general">
<table class="form-table">
<tr valign="top">
<th scope="row"><label for="title">站点名称</label></th>
<td><input name="title" type="text" id="title" value="{$options.title}" class="regular-text" />
<span class="description">站点的名称将显示在网页的标题处。</span></td>
</tr>
<tr valign="top">
<th scope="row"><label for="description">站点描述</label></th>
<td><input name="description" type="text" id="description"  value="{$options.description}" class="regular-text" />
<span class="description">用简洁的文字描述本站点。</span></td>
</tr>
<tr valign="top">
<th scope="row"><label for="keywords">站点关键字</label></th>
<td><input name="keywords" type="text" id="keywords"  value="{$options.keywords}" class="regular-text" />
<span class="description">请以半角逗号","分割多个关键字。</span></td>
</tr>
<tr valign="top">
<th scope="row"><label for="website">站点地址（URL）</label></th>
<td><input name="website" type="text" id="website" value="{$options.website}" class="regular-text code" /></td>
</tr>
<tr valign="top">
<th scope="row">成员资格</th>
<td> <fieldset><legend class="screen-reader-text"><span>成员资格</span></legend><label for="users_can_register">
<input name="register" type="checkbox" id="register" value="1" <eq name="options.register" value="1">checked="checked"</eq>/>
任何人都可以注册</label>
</fieldset></td>
</tr>
<tr valign="top">
<th scope="row"><label for="default_role">新用户默认角色</label></th>
<td>
<select name="role" id="role">
	<option value='5' <eq name="options.role" value="5" >selected='selected'</eq>>订阅者</option>
	<option value='1' <eq name="options.role" value="1" >selected='selected'</eq>>管理员</option>
	<option value='2' <eq name="options.role" value="2" >selected='selected'</eq>>编辑</option>
	<option value='3' <eq name="options.role" value="3" >selected='selected'</eq>>作者</option>
	<option value='4' <eq name="options.role" value="4" >selected='selected'</eq>>投稿者</option></select>
</td>
</tr>
<tr>
<th scope="row"><label for="timezone_string">时区</label></th>
<td>
<select id="timezone" name="timezone">
<option <eq name="options.timezone" value="-12" >selected</eq> value="-12">{$Think.lang.timezone_1}</option>
<option <eq name="options.timezone" value="-11" >selected</eq> value="-11">{$Think.lang.timezone_2}</option>
<option <eq name="options.timezone" value="-10" >selected</eq> value="-10">{$Think.lang.timezone_3}</option>
<option <eq name="options.timezone" value="-9" >selected</eq> value="-9">{$Think.lang.timezone_4}</option>
<option <eq name="options.timezone" value="-8" >selected</eq> value="-8">{$Think.lang.timezone_5}</option>
<option <eq name="options.timezone" value="-7" >selected</eq> value="-7">{$Think.lang.timezone_6}</option>
<option <eq name="options.timezone" value="-6" >selected</eq> value="-6">{$Think.lang.timezone_7}</option>
<option <eq name="options.timezone" value="-5" >selected</eq> value="-5">{$Think.lang.timezone_8}</option>
<option <eq name="options.timezone" value="-4" >selected</eq> value="-4">{$Think.lang.timezone_9}</option>
<option <eq name="options.timezone" value="-3.5" >selected</eq> value="-3.5">{$Think.lang.timezone_10}</option>
<option <eq name="options.timezone" value="-3" >selected</eq> value="-3">{$Think.lang.timezone_11}</option>
<option <eq name="options.timezone" value="-2" >selected</eq> value="-2">{$Think.lang.timezone_12}</option>
<option <eq name="options.timezone" value="-1" >selected</eq> value="-1">{$Think.lang.timezone_13}</option>
<option <eq name="options.timezone" value="0" >selected</eq> value="0">{$Think.lang.timezone_14}</option>
<option <eq name="options.timezone" value="1" >selected</eq> value="1">{$Think.lang.timezone_15}</option>
<option <eq name="options.timezone" value="2" >selected</eq> value="2">{$Think.lang.timezone_16}</option>
<option <eq name="options.timezone" value="3" >selected</eq> value="3">{$Think.lang.timezone_17}</option>
<option <eq name="options.timezone" value="3.5" >selected</eq> value="3.5">{$Think.lang.timezone_18}</option>
<option <eq name="options.timezone" value="4" >selected</eq> value="4">{$Think.lang.timezone_19}</option>
<option <eq name="options.timezone" value="4.5" >selected</eq> value="4.5">{$Think.lang.timezone_20}</option>
<option <eq name="options.timezone" value="5" >selected</eq> value="5">{$Think.lang.timezone_21}</option>
<option <eq name="options.timezone" value="5.5" >selected</eq> value="5.5">{$Think.lang.timezone_22}</option>
<option <eq name="options.timezone" value="6" >selected</eq> value="6">{$Think.lang.timezone_23}</option>
<option <eq name="options.timezone" value="7" >selected</eq> value="7">{$Think.lang.timezone_24}</option>
<option <eq name="options.timezone" value="8" >selected</eq> value="8">{$Think.lang.timezone_25}</option>
<option <eq name="options.timezone" value="9" >selected</eq> value="9">{$Think.lang.timezone_26}</option>
<option <eq name="options.timezone" value="9.5" >selected</eq> value="9.5">{$Think.lang.timezone_27}</option>
<option <eq name="options.timezone" value="10" >selected</eq> value="10">{$Think.lang.timezone_28}</option>
<option <eq name="options.timezone" value="11" >selected</eq> value="11">{$Think.lang.timezone_29}</option>
<option <eq name="options.timezone" value="12" >selected</eq> value="12">{$Think.lang.timezone_30}</option>
</select>
<span class="description">选择一个和您时区相同的城市。</span>
</td>
</tr>
<tr>
<th scope="row">日期格式</th>
<td>
<fieldset><legend class="screen-reader-text"><span>日期格式</span></legend>
<label title='Y 年 n 月 j 日'><input type='radio' name='dateFormat' value='Y 年 n 月 j 日' <eq name="options.dateFormat" value="Y 年 n 月 j 日" >checked='checked'</eq> /> <span><php>echo date("Y 年 n 月 j 日");</php></span></label><br />
<label title='Y/m/d'><input type='radio' name='dateFormat' value='Y/m/d' <eq name="options.dateFormat" value="Y/m/d" >checked='checked'</eq>/> <span><php>echo date("Y/m/d");</php></span></label><br />
<label title='m/d/Y'><input type='radio' name='dateFormat' value='m/d/Y' <eq name="options.dateFormat" value="m/d/Y" >checked='checked'</eq>/> <span><php>echo date("m/d/Y");</php></span></label><br />
<label title='d/m/Y'><input type='radio' name='dateFormat' value='d/m/Y' <eq name="options.dateFormat" value="d/m/Y" >checked='checked'</eq>/> <span><php>echo date("d/m/Y");</php></span></label><br />
</fieldset>
</td>
</tr>
<tr>
<th scope="row">时间格式</th>
<td>
	<fieldset><legend class="screen-reader-text"><span>时间格式</span></legend>
	<label title='a g:i'><input type='radio' name='timeFormat' value='a g:i' <eq name="options.timeFormat" value="a g:i" >checked='checked'</eq>/> <span><php>echo date("a g:i");</php></span></label><br />
	<label title='g:i A'><input type='radio' name='timeFormat' value='g:i A' <eq name="options.timeFormat" value="g:i A" >checked='checked'</eq>/> <span><php>echo date("g:i A");</php></span></label><br />
	<label title='H:i'><input type='radio' name='timeFormat' value='H:i' <eq name="options.timeFormat" value="H:i" >checked='checked'</eq>/> <span><php>echo date("H:i");</php></span></label><br />
	</fieldset>
</td>
</tr>
</table>
<p class="submit"><input type="submit" name="submit" id="submit" class="button-primary" value="保存更改"  /></p></form>
</div>

<include file="Public:footer" />
